package com.javasm.exercise;

/**
 * @classname:CarTest
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/27 17:56
 * @version: 0.1
 * @since:1.8
 */
public class CarTest {
    public static void main(String[] args) {
        CarFactory carFactory = new CarFactory();
        carFactory.setFactoryName("东风");
        carFactory.setFactoryAddress("杭州");
        Car car = new Car();
        car.setCarFactory(carFactory);
        car.setWheel(2);
        car.setColor("白色");

    }
}
